﻿#ifndef CONFIRMUSER_H
#define CONFIRMUSER_H

#include <QDialog>
#include "userDataFormate.h"
namespace Ui {
class ConfirmUser;
}

class ConfirmUser : public QDialog
{
    Q_OBJECT

public:
    explicit ConfirmUser(QWidget *parent = nullptr);
    ~ConfirmUser();
    void setUserMsg(const ST_PatientMsg&);

    bool isSelectUser();
protected:
    void paintEvent(QPaintEvent *event);

    virtual void changeEvent(QEvent* event);
private slots:
    void on_cancel_pushButton_clicked();

    void on_confirm_pushButton_clicked();

private:
    Ui::ConfirmUser *ui;
    bool isSelectedUser;
};

#endif // CONFIRMUSER_H
